# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'C:\Users\Gary Hughes\Documents\Python\PySubsonic\ui\mainwindow.ui'
#
# Created: Mon Dec 06 00:12:04 2010
#      by: PyQt4 UI code generator 4.7.6
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(842, 494)
        self.centralWidget = QtGui.QWidget(MainWindow)
        self.centralWidget.setObjectName(_fromUtf8("centralWidget"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.centralWidget)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.splitter = QtGui.QSplitter(self.centralWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.splitter.sizePolicy().hasHeightForWidth())
        self.splitter.setSizePolicy(sizePolicy)
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.toolBox = QtGui.QToolBox(self.splitter)
        self.toolBox.setMaximumSize(QtCore.QSize(201, 16777215))
        self.toolBox.setObjectName(_fromUtf8("toolBox"))
        self.page = QtGui.QWidget()
        self.page.setGeometry(QtCore.QRect(0, 0, 93, 389))
        self.page.setObjectName(_fromUtf8("page"))
        self.toolBox.addItem(self.page, _fromUtf8(""))
        self.page_2 = QtGui.QWidget()
        self.page_2.setGeometry(QtCore.QRect(0, 0, 98, 28))
        self.page_2.setObjectName(_fromUtf8("page_2"))
        self.toolBox.addItem(self.page_2, _fromUtf8(""))
        self.stackedWidget = QtGui.QStackedWidget(self.splitter)
        self.stackedWidget.setObjectName(_fromUtf8("stackedWidget"))
        self.page_3 = QtGui.QWidget()
        self.page_3.setObjectName(_fromUtf8("page_3"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.page_3)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label = QtGui.QLabel(self.page_3)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout.addWidget(self.label)
        self.pushButton = QtGui.QPushButton(self.page_3)
        self.pushButton.setObjectName(_fromUtf8("pushButton"))
        self.horizontalLayout.addWidget(self.pushButton)
        self.verticalLayout_3.addLayout(self.horizontalLayout)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.lwArtists = QtGui.QListWidget(self.page_3)
        self.lwArtists.setObjectName(_fromUtf8("lwArtists"))
        self.horizontalLayout_2.addWidget(self.lwArtists)
        self.lwAlbums = QtGui.QListWidget(self.page_3)
        self.lwAlbums.setIconSize(QtCore.QSize(96, 96))
        self.lwAlbums.setObjectName(_fromUtf8("lwAlbums"))
        self.horizontalLayout_2.addWidget(self.lwAlbums)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.lwTracks = QtGui.QTableWidget(self.page_3)
        self.lwTracks.setAlternatingRowColors(True)
        self.lwTracks.setObjectName(_fromUtf8("lwTracks"))
        self.lwTracks.setColumnCount(9)
        self.lwTracks.setRowCount(0)
        item = QtGui.QTableWidgetItem()
        self.lwTracks.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.lwTracks.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.lwTracks.setHorizontalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        self.lwTracks.setHorizontalHeaderItem(3, item)
        item = QtGui.QTableWidgetItem()
        self.lwTracks.setHorizontalHeaderItem(4, item)
        item = QtGui.QTableWidgetItem()
        self.lwTracks.setHorizontalHeaderItem(5, item)
        item = QtGui.QTableWidgetItem()
        self.lwTracks.setHorizontalHeaderItem(6, item)
        item = QtGui.QTableWidgetItem()
        self.lwTracks.setHorizontalHeaderItem(7, item)
        item = QtGui.QTableWidgetItem()
        self.lwTracks.setHorizontalHeaderItem(8, item)
        self.lwTracks.verticalHeader().setVisible(False)
        self.verticalLayout.addWidget(self.lwTracks)
        self.verticalLayout_3.addLayout(self.verticalLayout)
        self.stackedWidget.addWidget(self.page_3)
        self.page_4 = QtGui.QWidget()
        self.page_4.setObjectName(_fromUtf8("page_4"))
        self.stackedWidget.addWidget(self.page_4)
        self.verticalLayout_2.addWidget(self.splitter)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setSizeConstraint(QtGui.QLayout.SetFixedSize)
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.pushButton_2 = QtGui.QPushButton(self.centralWidget)
        self.pushButton_2.setMaximumSize(QtCore.QSize(16777215, 23))
        self.pushButton_2.setObjectName(_fromUtf8("pushButton_2"))
        self.horizontalLayout_3.addWidget(self.pushButton_2)
        self.pushButton_3 = QtGui.QPushButton(self.centralWidget)
        self.pushButton_3.setMaximumSize(QtCore.QSize(16777215, 23))
        self.pushButton_3.setObjectName(_fromUtf8("pushButton_3"))
        self.horizontalLayout_3.addWidget(self.pushButton_3)
        self.pushButton_4 = QtGui.QPushButton(self.centralWidget)
        self.pushButton_4.setMaximumSize(QtCore.QSize(16777215, 23))
        self.pushButton_4.setObjectName(_fromUtf8("pushButton_4"))
        self.horizontalLayout_3.addWidget(self.pushButton_4)
        self.pushButton_5 = QtGui.QPushButton(self.centralWidget)
        self.pushButton_5.setMaximumSize(QtCore.QSize(16777215, 23))
        self.pushButton_5.setObjectName(_fromUtf8("pushButton_5"))
        self.horizontalLayout_3.addWidget(self.pushButton_5)
        self.pushButton_6 = QtGui.QPushButton(self.centralWidget)
        self.pushButton_6.setMaximumSize(QtCore.QSize(16777215, 23))
        self.pushButton_6.setObjectName(_fromUtf8("pushButton_6"))
        self.horizontalLayout_3.addWidget(self.pushButton_6)
        self.horizontalLayout_5.addLayout(self.horizontalLayout_3)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.seekSlider = phonon.Phonon.SeekSlider(self.centralWidget)
        self.seekSlider.setMaximumSize(QtCore.QSize(16777215, 23))
        self.seekSlider.setObjectName(_fromUtf8("seekSlider"))
        self.horizontalLayout_4.addWidget(self.seekSlider)
        self.volumeSlider = phonon.Phonon.VolumeSlider(self.centralWidget)
        self.volumeSlider.setMaximumSize(QtCore.QSize(16777215, 23))
        self.volumeSlider.setObjectName(_fromUtf8("volumeSlider"))
        self.horizontalLayout_4.addWidget(self.volumeSlider)
        self.horizontalLayout_5.addLayout(self.horizontalLayout_4)
        self.verticalLayout_2.addLayout(self.horizontalLayout_5)
        MainWindow.setCentralWidget(self.centralWidget)

        self.retranslateUi(MainWindow)
        self.toolBox.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBox.setItemText(self.toolBox.indexOf(self.page), QtGui.QApplication.translate("MainWindow", "Page 1", None, QtGui.QApplication.UnicodeUTF8))
        self.toolBox.setItemText(self.toolBox.indexOf(self.page_2), QtGui.QApplication.translate("MainWindow", "Page 2", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("MainWindow", "PySubsonic", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton.setText(QtGui.QApplication.translate("MainWindow", "PushButton", None, QtGui.QApplication.UnicodeUTF8))
        self.lwTracks.setSortingEnabled(True)
        self.lwTracks.horizontalHeaderItem(0).setText(QtGui.QApplication.translate("MainWindow", "Track", None, QtGui.QApplication.UnicodeUTF8))
        self.lwTracks.horizontalHeaderItem(1).setText(QtGui.QApplication.translate("MainWindow", "Title", None, QtGui.QApplication.UnicodeUTF8))
        self.lwTracks.horizontalHeaderItem(2).setText(QtGui.QApplication.translate("MainWindow", "Duration", None, QtGui.QApplication.UnicodeUTF8))
        self.lwTracks.horizontalHeaderItem(3).setText(QtGui.QApplication.translate("MainWindow", "Artist", None, QtGui.QApplication.UnicodeUTF8))
        self.lwTracks.horizontalHeaderItem(4).setText(QtGui.QApplication.translate("MainWindow", "Album", None, QtGui.QApplication.UnicodeUTF8))
        self.lwTracks.horizontalHeaderItem(5).setText(QtGui.QApplication.translate("MainWindow", "Size", None, QtGui.QApplication.UnicodeUTF8))
        self.lwTracks.horizontalHeaderItem(6).setText(QtGui.QApplication.translate("MainWindow", "Bitrate", None, QtGui.QApplication.UnicodeUTF8))
        self.lwTracks.horizontalHeaderItem(7).setText(QtGui.QApplication.translate("MainWindow", "Content Type", None, QtGui.QApplication.UnicodeUTF8))
        self.lwTracks.horizontalHeaderItem(8).setText(QtGui.QApplication.translate("MainWindow", "Path", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_2.setText(QtGui.QApplication.translate("MainWindow", "PushButton", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_3.setText(QtGui.QApplication.translate("MainWindow", "PushButton", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_4.setText(QtGui.QApplication.translate("MainWindow", "PushButton", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_5.setText(QtGui.QApplication.translate("MainWindow", "PushButton", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_6.setText(QtGui.QApplication.translate("MainWindow", "PushButton", None, QtGui.QApplication.UnicodeUTF8))

from PyQt4 import phonon

if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    MainWindow = QtGui.QMainWindow()
    ui = Ui_MainWindow()
    ui.setupUi(MainWindow)
    MainWindow.show()
    sys.exit(app.exec_())

